import styled from "styled-components";

export const LoginWrap = styled.div`
  width: 250px;
  .no-login {
    height: 126px;
    background: url(${require("@/assets/img/sprite_02.png").default}) no-repeat
      0 9999px;
    background-position: 0 0;
    .loginBox-text {
      width: 205px;
      line-height: 22px;
      padding: 16px 0;
      display: block;
      color: #666;
      margin: 0 auto;
    }
    .loginButton {
      width: 100px;
      height: 31px;
      line-height: 31px;
      text-align: center;
      color: #fff;
      text-shadow: 0 1px 0 #8a060b;
      margin: 0 auto;
      display: block;
      background-position: 0 -195px;
    }
  }
  .is-login {
    height: 185px;
    padding-top: 20px;
    background: url(${require("@/assets/img/index.png").default}) no-repeat 0
      9999px;
    background-position: 0 -270px;
    position: relative;
    .info-img {
      img {
        position: absolute;
        top: 38px;
        left: 30px;
        width: 68px;
        height: 68px;
        padding: 2px;
        background: #fff;
        border: 1px solid #dadada;
      }

      ::after {
        content: "";
        display: block;
        clear: both;
        overflow: hidden;
      }
      h5 {
        top: 50px;
        font-size: 14px;
        max-width: 107px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 700;
        font-size: 14px;
        position: absolute;
        left: 112px;
      }
      p {
        top: 75px;
        /* width: 100%; */
        margin-top: 5px;
        cursor: pointer;
        position: absolute;
        left: 112px;
        a {
          display: inline-block;
          height: 17px;
          overflow: hidden;
          padding-left: 25px;
          line-height: 18px;
          color: #999;
          font-weight: bold;
          font-style: italic;
          background-position: -130px -64px;
          vertical-align: middle;
          i {
            float: right;
            width: 8px;
            height: 17px;
            background-position: -192px -64px;
            overflow: hidden;
            vertical-align: middle;
          }
        }
      }
    }
  }
`;
